cmake_minimum_required(VERSION 2.6)
project(hello)
set(COMPILE_OPTIONS "-std=c++11 -O0 -Wall")
set(CMAKE_CXX_FLAGS_DEBUG "${COMPILE_OPTIONS} -g -D_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "${COMPILE_OPTIONS} -DNDEBUG")
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREAD OFF)
set(Boost_DEBUG TRUE)
find_package(Boost REQUIRED unit_test_framework)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
if (Boost_NOTFOUND)
	message(FATAL_ERROR "Boost not found")
endif()
set(SRCS main.cpp)
add_executable(${PROJECT_NAME} ${SRCS})
target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES})

